package com.zh.freechat.domain.user.entity;

import lombok.Getter;

import java.util.List;

/**
 * @author ZH
 * @date 9:41 2021/1/7
 */
@Getter
public class UserContacts {

    private String userId;
    /**
     * 我的好友
     */
    private List<UserRelationFriend> friends;
    /**
     * 用户黑名单
     */
    private List<UserRelationBlack> blacks;

    public UserContacts() {
    }

    public UserContacts(String userId, List<UserRelationFriend> friends, List<UserRelationBlack> blacks) {
        this.userId = userId;
        this.friends = friends;
        this.blacks = blacks;
    }

}

